
import requests

url = "http://localhost:8888/api/system.dictionary/initPicker"

# 请求头添加X-Token = 123456
headers = {
    "X-Token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MSwib3BlcmF0ZV9pZCI6MCwibmlja25hbWUiOiJcdThiZGFcdTViYjYtYWRtaW4iLCJyZWFsbmFtZSI6Ilx1OGQ4NVx1N2VhN1x1N2JhMVx1NzQwNlx1NTQ1OCIsIm1vYmlsZSI6IjE4MzIxMjc3NDExIiwiZW1haWwiOiJsaXVjdW56aG91QDE2My5jb20iLCJzZXgiOjEsImFnZSI6MCwiYXZhdGFyIjoiaHR0cDovL2FwaS5odW5saWppYS5jb20uY24vL2ZpbGUvMjAyMzEwMTAvMDE4YzRjNWE2YTExMzFjMTQ2NWU4NmIwZWZmMmFiMTUuanBnIiwibGFzdF9sb2dpbl90aW1lIjowLCJsYXN0X2xvZ2luX2lwIjoiMCIsInVzZXJfdHlwZSI6Miwic3RhdHVzIjoxLCJzb3J0IjowLCJkaW5nZGluZyI6Im1hbmFnZXI3MTM3Iiwid29ya193ZWNoYXQiOiIiLCJpc19zeW5jX3dvcmtfd2VjaGF0IjowLCJjcmVhdGVfdGltZSI6MTcwNTM4NzM3NywidXBkYXRlX3RpbWUiOjE5NzAsImRlbGV0ZV90aW1lIjowLCJjbGllbnQiOiJwYyJ9.7WUYFq0zhbSs-LGFlvAQBd7ysDimrkNZdjg3Qag2Toc"
}

res = requests.post(url, headers=headers)

# 打印响应的文本
print(res.text)



